package net.jiastudy.biz.user.event;

import java.util.Date;

import org.springframework.context.ApplicationEvent;

public class UserLoginEvent extends ApplicationEvent {

	/**
	 * 
	 */
	private static final long serialVersionUID = -918297703989487970L;

	private String loginIp;
	private Date loginDate;

	public UserLoginEvent(Object source, String loginIp, Date loginDate) {
		super(source);
		this.loginIp = loginIp;
		this.loginDate = loginDate;
	}

	public String getLoginIp() {
		return loginIp;
	}

	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}

	public Date getLoginDate() {
		return loginDate;
	}

	public void setLoginDate(Date loginDate) {
		this.loginDate = loginDate;
	}
}
